package org.jeecg.modules.pbmp.transferRecord.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.pbmp.returnStage.entity.ReturnStage;
import org.jeecg.modules.pbmp.transferRecord.entity.QueryTransferRecord;
import org.jeecg.modules.pbmp.transferRecord.entity.TransferRecord;
import org.jeecg.modules.pbmp.transferRecord.mapper.TransferRecordMapper;
import org.jeecg.modules.pbmp.transferRecord.service.ITransferRecordService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 资产调拨信息
 * @Author: jeecg-boot
 * @Date:   2021-01-28
 * @Version: V1.0
 */
@Service
public class TransferRecordServiceImpl extends ServiceImpl<TransferRecordMapper, TransferRecord> implements ITransferRecordService {

    @Override
    public Page<QueryTransferRecord> selAllocationList(Page<QueryTransferRecord> page, QueryTransferRecord queryTransferRecord) {
        List<QueryTransferRecord> l = baseMapper.selAllocationList(page,queryTransferRecord);
        return page.setRecords(l);
    }
}
